package com.etoak.api;

import com.etoak.common.core.vo.ResultVO;
import com.etoak.vo.DishesVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("dishes-service")
public interface DishesService {

    @GetMapping("/dishes/{ids}")
    ResultVO<List<DishesVO>> get(@PathVariable List<Integer> ids);



}
